import request from '@/utils/request'

// 查询详情 更换轮胎
export function getReplaceTyre(id) {
  return request({
    url: '/car/carReplaceTyre/' + id,
    method: 'get'
  })
}


// 编辑
export function updateReplaceTyre(data) {
  return request({
    url: '/car/carReplaceTyre/update',
    method: 'post',
    data: data
  })
}

// 新增

export function addReplaceTyre(data) {
  return request({
    url: '/car/carReplaceTyre/save',
    method: 'post',
    data: data
  })
}


